<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/HHCalculator.js"></script>
    <script>
        const base = 2;
        function a(){
            let a = parseInt(document.getElementById("H").innerText);
            a++;
            document.getElementById("H").innerText = a.toString();
        }
        setInterval(async function () {
            document.getElementById("v").innerText = HH(parseInt(document.getElementById("H").innerText),base);
        },50)
    </script>
</head>
<body>
    <p>An Googologist
    <h2>H<sub id="H">0</sub>(2)=<span id="v">2</span></h2>
    <button id = "b" onclick="a();">序数增加一</button>

</body>
</html>